package com.yunyike.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.yunyike.model.User;

public interface IUserService {

	public List<User> findAllUsers();
	
	public User findUserById(String userId);
	
	public int addUserInvisible(User user);
	
	public int update(User user);
	
	public void login(String mobile, String password,HttpServletRequest request,
			HttpServletResponse response);
	
	public void login(String openId,HttpServletRequest request,
			HttpServletResponse response);
}
